
for i=1:1
    % Graf:
    %G = generateGraph(100, 0.5);
    G = generateCircle(1000);
    % Pokolorowanie grafu:
    K = randomColoring(size(G, 1));

    C = cost(G, K);
    checkColoring(G, K);
    [cst coloring] = simAnn3(G, K, 5000, 0.9, 2500);
    res(i) = checkColoring(G, coloring);
    csts(i, :) = 1;
    result(i) = max(coloring);
end
mins = min(csts);
maxs = max(csts);
meds = median(csts);